for i in (1..3)
  p(i)
end

for i, j in [[1, 2], [3, 4]]
  p([i, j])
end
